package cc.wanforme.chipmunity.system.po.user;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**登录记录
 * @author wanne
 * 2019年8月3日
 * 
 */
public class LoginLog implements Serializable{
	private static final long serialVersionUID = 1L;
	
	@TableId(type = IdType.AUTO)
	private Long id;
	
	private String username;
	
	private String address;
	
	private String ip;
	
	private Date loginTime;

	public LoginLog() {
		super();
	}
	
	public LoginLog(String username, String address, String ip, Date loginTime) {
		super();
		this.username = username;
		this.address = address;
		this.ip = ip;
		this.loginTime = loginTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

}
